package com.wujunshen.designpattern.creational.simplefactory.nofactory;

import com.wujunshen.designpattern.creational.simplefactory.IVehicle;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

/**
 * @author frank woo(吴峻申) <br>
 *     email:<a href="mailto:frank_wjs@hotmail.com">frank_wjs@hotmail.com</a> <br>
 * @date 2021/2/16 21:49<br>
 */
@Slf4j
@EqualsAndHashCode(callSuper = true)
@Data
public class BrandOne extends Vehicle implements IVehicle {
    @Override
    public void doSomething() {
        log.info("BrandOne\n");
    }
}
